package com.hhwy.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hhwy.domain.DeformationCheck;
import com.hhwy.domain.PressureCheck;
import com.hhwy.mapper.DeformationCheckMapper;
import com.hhwy.service.IDeformationCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class
IDeformationCheckServiceImpl extends ServiceImpl<DeformationCheckMapper, DeformationCheck> implements IDeformationCheckService {

    @Autowired
    private DeformationCheckMapper deformationCheckMapper;

    @Override
    public IPage<PressureCheck> getpage(int currentpage, int pagesSize) {
        IPage page = new Page(currentpage,pagesSize);
        deformationCheckMapper.selectPage(page, null);
        return page;
    }

}
